package com.jeecg.demo.service.impl;

import com.jeecg.demo.entity.TTlDanjtk;
import com.jeecg.demo.service.MtTlDanjtkServiceI;
import org.jeecgframework.core.common.service.impl.CommonServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;

@Service("mtTlDanjtkService")
@Transactional
public class MtTlDanjtkServiceImpl extends CommonServiceImpl implements MtTlDanjtkServiceI {

	@Autowired
	private NamedParameterJdbcTemplate namedParameterJdbcTemplate;
	@Override
	public void delete(TTlDanjtk entity) throws Exception {
		super.delete(entity);
	}

	@Override
	public Serializable save(TTlDanjtk entity) throws Exception {
		Serializable t = super.save(entity);
		return t;
	}

	@Override
	public void saveOrUpdate(TTlDanjtk entity) throws Exception {
		super.saveOrUpdate(entity);
	}
}
